﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Tasks.Common.Entitys;

namespace Tasks.UI.Models.TourSell
{
    /// <summary>
    /// 销售模型
    /// </summary>
    public class TourOrderModel
    {
        /// <summary>
        /// 价格数据
        /// </summary>
        public string JsonPrices { get; set; }

        public int CustomerID { get; set; }
        public string CustomerName { get; set; }
        public string CustomerTel { get; set; }
        public string CustomerIDCard { get; set; }


        /// <summary>
        /// 联系人姓名
        /// </summary>
        public string Linkman { get; set; }
        public string LinkTel { get; set; }
        /// <summary>
        /// 联系人身份证号码
        /// </summary>
        public string LinkIDCard { get; set; }

        /// <summary>
        /// 当前有效的团
        /// </summary>
        public IList<TourTeam> AvailableTeams { get; set; }

        /// <summary>
        /// 游玩日期
        /// </summary>
        public string TravelDate { get; set; }

        #region TourID

        private Int32 m_tourID;

        /// <summary>Gets or sets TourID</summary>
        public Int32 TourID
        {
            get { return m_tourID; }
            set { m_tourID = value; }
        }

        #endregion

        #region TourTeamID

        private Int32 m_tourTeamID;

        /// <summary>Gets or sets TourTeamID</summary>
        public Int32 TourTeamID
        {
            get { return m_tourTeamID; }
            set { m_tourTeamID = value; }
        }

        #endregion



        /// <summary>Gets or sets ClientName</summary>
        public String[] VisitorName { get; set; }
        public int[] ClientSex { get; set; }
        public int[] ClientType { get; set; }
        public string[] ClientIDCard { get; set; }
        public string[] ClientTel { get; set; }
        public int[] ChargeID { get; set; }
        public decimal[] Money { get; set; }


        #region TourTeamNo

        private String m_tourTeamNo;

        /// <summary>Gets or sets TourTeamNo</summary>
        public String TourTeamNo
        {
            get { return m_tourTeamNo; }
            set { m_tourTeamNo = value; }
        }

        #endregion

        #region TourName

        private String m_tourName;

        /// <summary>Gets or sets TourName</summary>
        public String TourName
        {
            get { return m_tourName; }
            set { m_tourName = value; }
        }

        #endregion

        #region OrderTime

        private DateTime m_orderTime;

        /// <summary>Gets or sets OrderTime</summary>
        public DateTime OrderTime
        {
            get { return m_orderTime; }
            set { m_orderTime = value; }
        }

        #endregion

        #region ClientID

        private Int32 m_clientID;

        /// <summary>Gets or sets ClientID</summary>
        public Int32 ClientID
        {
            get { return m_clientID; }
            set { m_clientID = value; }
        }

        #endregion

        public string Remark { get; set; }
    }
}